<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>
</head>
<body>
    <div id="app">
        <div v-for="item of movies">
            {{item.title}}
            <img :src="item.pic" alt="">
        </div>
    </div>
    <script>
        var url = "http://47.108.197.28:4000/api/movie/top250"
        new Vue({
            el:"#app",
            data:{
                movies:[]
            },
            async created(){
                var data = await $.get(url);
                console.log(data.res)
                this.movies = data.res
            },
            mounted(){

            }
        })
    </script>
</body>
</html>